package com.woniu.outlet.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("物料BOM对象参数")
public class MaterialBomPo {
    @ApiModelProperty(value = "物料BOMid")
    private Long id;

    @ApiModelProperty(value = "物料编码")
    private String materialCode;

    @ApiModelProperty(value = "物料名称")
    private String materialName;

    @ApiModelProperty(value = "仓库id")
    @NotNull(message = "仓库id不能为空")
    private Long warehouseId;

    @ApiModelProperty(value = "项目id")
    private Long projectId;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "分类编码")
    @NotNull(message = "物料分类id不能为空")
    private Long classificationTypeId;

    @ApiModelProperty(value = "规格型号")
    private String specificationModel;

    @ApiModelProperty(value = "规格单位")
    private String specificationUnit;

    @ApiModelProperty(value = "计价单位")
    private String valuationUnit;

    @ApiModelProperty(value = "规格与计价间")
    private String salePrice;

    @ApiModelProperty(value = "理论重量")
    private String theoreticalWeight;

    @ApiModelProperty(value = "材质")
    private String textureOfMaterial;

    @ApiModelProperty(value = "颜色")
    private String color;

    @ApiModelProperty(value = "采购含税单价")
    private Double purchaseTaxPrice;

    @ApiModelProperty(value = "采购税率")
    private String purchaseTaxRate;

    @ApiModelProperty(value = "启用状态")
    private String enableStatus;

    @ApiModelProperty(value = "备用字段1")
    private String spare1;


    @ApiModelProperty(value = "备用字段2")
    private String spare2;

    @ApiModelProperty(value = "备用字段3")
    private String spare3;

}